<?php

define("INCLUDE_PATH", dirname(__FILE__) . "/inc/");
define("INCLUDE_PATH", dirname(__FILE__) . "/inc/");
define("SYS_INCLUDE_PATH", dirname(__FILE__) . "/sys/");
define("TEMPLATE_PATH", dirname(__FILE__) . "/tmpl/");
define("TEMPLATEC_PATH", dirname(__FILE__) . "/tmpl_c/");
#define ("TEMPLATEC_PATH", "saemc://templates_c");#for SAE 

#SAE KEY
define("SAE_ACCESSKEY", "yjol3y3mx4");
define("SAE_SECRETKEY", "3h325325mhm23mlhhmlz34l11wxx2zjzmz3lyjhz");

function __autoload($class_name) {
    if (in_array($class_name, array("_DBProvider", "_Input", "_Interface", "_Page"))) {
        include_once (SYS_INCLUDE_PATH . '/' . $class_name . '.php');
    } else {
        include_once (INCLUDE_PATH . '/' . $class_name . '.php');
    }
}

?>
